<template>
  <view class="success-container">
    <view class="success-icon">✔️</view>
    <view class="success-title">合同发起成功！</view>
    <view class="success-desc">您可以在合同列表或详情页查看合同进度。</view>
    <button class="success-btn" @click="goInitiated">去签署</button>
    <button class="success-btn-outline">返回合同列表</button>
  </view>
</template>
<script setup>
function goInitiated() {
  uni.switchTab({ url: '/pages/initiated/index' })
}
</script>
<style scoped>
.success-container { padding: 64rpx 32rpx; text-align: center; }
.success-icon { font-size: 80rpx; color: #4cd964; margin-bottom: 32rpx; }
.success-title { font-size: 38rpx; font-weight: bold; margin-bottom: 18rpx; }
.success-desc { color: #888; font-size: 28rpx; margin-bottom: 48rpx; }
.success-btn { width: 100%; background: #f55a4e; color: #fff; font-size: 32rpx; border-radius: 12rpx; padding: 18rpx 0; margin-bottom: 24rpx; }
.success-btn-outline { width: 100%; background: #fff; color: #f55a4e; border: 2rpx solid #f55a4e; font-size: 32rpx; border-radius: 12rpx; padding: 18rpx 0; }
</style> 